import React from "react";
import { DatePicker as AntdDatePicker } from "../../antd/index";
import { commonProps } from ".";

// type
import { AntdTimePickerProps } from ".";

export interface Props extends AntdTimePickerProps {}

function TimePicker(props: Props) {
  const TimePickerProps = {
    ...commonProps,
    ...props,
  };
  return <AntdDatePicker.TimePicker {...TimePickerProps} />;
}

export default TimePicker;
